<?php

class Helper {
	
	public static function debug($obj, $die = true) {
		echo '<pre>';
		print_r($obj);
		echo '</pre>';
		
		if ($die) {
			die();
		}
	}
}